kexec: fix some types
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2015 11:01:18 +0000 (12:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2015 11:01:18 +0000 (12:01 +0100)
commit66500abc8dd66ec5df71dbf4ac3fd64b2d0cdcf8
tree0a4208990b577ccc290f2ffdea7978b6b8ebd35e
parentad34d0656fccda70de96f011c18e7a865b858e28
kexec: fix some types

crashinfo_maxaddr can/will be a 64-bit type, hence passing it to fls()
is wrong.

crashinfo_maxaddr_bits, otoh, doesn't need to be a paddr_t, and can
additionally be __initdata.

struct xen_kexec_reserve's start field - representing a physical
address - ought to have respective type.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
xen/common/kexec.c
xen/include/asm-x86/bitops.h
xen/include/xen/kexec.h